package com.ty.day6;

import java.util.Arrays;

/**
 * Created by IntelliJ IDEA.
 * Author : txy
 * Create 2023/11/2 10:11
 */
public class One {
    public static void main(String[] args) {
        int[] a = {3, 4, 5, 6, 9, 2, 3, 4, 13};
        int t;
        for (int i = 0; i < a.length / 2; i++) {
            t = a[i];
            a[i] = a[a.length - i - 1];
            a[a.length - i - 1] = t;
        }
        System.out.println(Arrays.toString(a));
    }
}
